.PHONY:all


all:Client TcpServer
LIB= -lpthread -ljsoncpp
LDFLAG=-DSelfDefine=1 # 编译器编译时添加宏

EXE= Client TcpServer
Client:Client.cc
	g++ -o $@ $^ $(LIB) $(LDFLAG) -std=c++23

TcpServer:TcpServer.cc
	g++ -o $@ $^ $(LIB) $(LDFLAG) -std=c++23
.PHONY:clean
clean:
	rm -rf $(EXE)